package zzs.generalframework.console.core.parameter.commonparameter.recordstatus.dao;

import java.util.List;

import zzs.generalframework.common.core.parameter.commonparameter.recordstatus.RecordStatusInfo;
import zzs.generalframework.common.core.parameter.commonparameter.recordstatus.RecordStatusPO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.parameter.commonparameter.recordstatus.dao
 * @author zzs
 * @date 2018年2月2日
 * @version 1.0
 */
public interface IRecordStatusDao
{
	/**
	 * 创建记录状态信息
	 * 
	 * @param recordStatusPO
	 * @return
	 */
	public boolean insert(RecordStatusPO recordStatusPO);

	/**
	 * 更新记录状态信息
	 *
	 * @param recordStatusPO
	 * @return
	 */
	public boolean update(RecordStatusPO recordStatusPO);

	/**
	 * 查询记录状态信息
	 *
	 * @param recordStatusInfo
	 * @return
	 */
	public List<RecordStatusPO> select(RecordStatusInfo recordStatusInfo);

	/**
	 * 删除记录状态信息
	 *
	 * @param recordStatusPO
	 * @return
	 */
	public boolean delete(RecordStatusPO recordStatusPO);

	/**
	 * 统计记录状态信息
	 * 
	 * @param recordStatusPO
	 * @return
	 */
	public Long count(RecordStatusPO recordStatusPO);

}
